/*
 * @Description: imu data
 * @Author: Zhijian Qiao
 * @Date: 2020-02-23 22:20:41
 */
#include "sensor_data/four_images_data.hpp"

using namespace std;

namespace avp_slam {

    FourImagesData::FourImagesData(double msgTime, const cv::Mat &depthFront, const cv::Mat &colorFront,
                                   const cv::Mat &depthLeft, const cv::Mat &colorLeft,
                                   const cv::Mat &depthBack, const cv::Mat &colorBack,
                                   const cv::Mat &depthRight, const cv::Mat &colorRight) {
//        默认480*640
        this->colorFront = colorFront.clone();
        this->colorLeft = colorLeft.clone();
        this->colorBack = colorBack.clone();
        this->colorRight = colorRight.clone();
        time = msgTime;
    }
}